<?php
/* 面料特征颜色属性 */
class Color_attrModel extends BaseModel {
    var $table  = 'color_attr';
    var $prikey = 'cs_id';
    var $_name  = 'cs';
    var $alias  = 'cs';
    var $_relation = array( 
		'has_member' => array(
             'model' => 'member',
             'type' => HAS_ONE,
             'foreign_key'   => 'user_id',
			 'refer_key'=>'user_id'
         ),
	);
}
?>